support functions

Xui ( )
XuiCreateGrid ( @grid, gridType, x, y, width, height, window, parent, func )

grid - grid number of created grid
gridType - grid type of grid to create
x,y - coords to position upper left corner of grid in parent
width,height - width and height in pixels of grid to create
window - window to create grid in
parent - parent grid (0 = no parent = window grid)
func - grid function address
XuiGetDefaultColors ( @back, @draw, @low, @high, @dull, @accent, @lowtext, @hightext )

back - default background color
draw - default drawing color
low - default lowlight color
high - default highlight color
dull - default dull color
accent - default accent color
lowtext - default lowtext color
hightext - default hightext color
XuiGetDefaultCursor ( @cursor )

cursor - default mouse cursor
XuiGetDefaultMessageFuncArray ( @func[] )

func[] - array of default message processing functions
XuiGetGridRegion ( grid, x, y, @region, @cursor, @defaultCursor )

grid - grid number
x,y - coordinates of test point
region - region of grid
cursor - nominal resize cursor number for region
defaultCursor - default cursor
XuiGetGridTypeMessageFuncArray ( gridType, @func[] )

gridType - grid type
func[] - message processing functions for grid type
XuiGetGridTypeMessageSubArray ( gridType, SUBADDR @sub[] )

gridType - grid type
sub[] - message processing subroutines for grid type